<?php
require_once("Entity.php");
class FavoriteEntity extends DBEntity {

	/** @var int,@column actor_id,@dbType int(11) */
	var $actorId;

	/** @var int,@column recipe_id,@dbType int(11) */
	var $recipeId;

	/** @var int,@column create_time,@dbType bigint(20) */
	var $createTime;

	private static $_columnList = array(
		"actor_id","recipe_id","create_time",
	);

	private static $_propertyMap = array(
	"actor_id"    => "actorId",
	"recipe_id"    => "recipeId",
	"create_time"    => "createTime",
	);

	public function __construct() {
		//parent::__construct();
    }
    
    public function getTable() {
        return "favorite";
    }

	public function getColumnList() {
		return self::$_columnList;
	}

	protected function getPropertyMap() {
		return self::$_propertyMap;
	}

    public function getPrimaryKey() {
        return "recipe_id";
    }

}
?>